4D Chart v13

CT MOVE

Home

 
4D Chart v13
CT MOVE

CT MOVE 


 

CT MOVE ( area ; scope ; newLeft ; newTop ) 
Parameter Type   Description
area  Longint in 4D Chart area
scope  Longint in Scope of the command -1 = All 0 = Selected objects >0 = Object ID
newLeft  Real in New coordinate of the left edge
newTop  Real in New coordinate of the top edge

The CT MOVE command repositions the objects in area described by scope.

  • If scope equals -1, CT MOVE repositions all objects in the document.
  • If scope equals 0, CT MOVE repositions the selected objects.
  • If scope is greater than 0, it must be equal to a specific object’s ID and that object is repositioned.

The object(s) described by scope are moved according to the newLeft and newTop parameters, specified as offsets from the current origin.

Example  

This example moves the selected objects to the top left corner of the chart area.

 CT MOVE(Area;0;0;0)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Objects
Number: 14575

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT Get ID
CT SIZE